package organization

import (
	"context"
)

type CommonOrganizationRepoIface interface {
	//获取用户+绑定详情
	//GetInfoWithBind(ctx context.Context, condition map[string]interface{}) (*CommonUserInfoBo, error)
	//// 通过账号密码获取用户
	//GetInfoByAccountAndPassword(ctx context.Context, tenantCode, account, passwordMd5 string) (*CommonUserInfoBo, error)
	//GetInfoByUid(ctx context.Context, uid string) (*CommonUserInfoBo, error)
	//GetInfoLeftJoinBind(ctx context.Context, condition map[string]interface{}) (*CommonUserInfoBo, error)
	//// 获取详情
	//GetInfo(ctx context.Context, condition map[string]interface{}, orderBy string) (*CommonUserData, error)
	//GetInfoByAccount(ctx context.Context, tenantCode, account string) (*CommonUserInfoBo, error)
	////获取列表数据
	//GetList(ctx context.Context, condition map[string]interface{}, page, pagesize int, orderBy string) (int64, []*CommonUserData, error)
	////更新数据
	Update(ctx context.Context, data, condition map[string]interface{}) (bool, error)
	////插入数据
	Insert(ctx context.Context, commonOrganization *CommonOrganization) (bool, error)
	////逻辑删除数据
	//Delete(ctx context.Context, condition map[string]interface{}) (bool, error)
	//获取角色信息
	GetOrganizationInfo(ctx context.Context, condition map[string]interface{}) (*CommonOrganization, error)
}
